#!/bin/rc
#hg clone -e '/bin/openssh/ssh -2' ssh://hg@bitbucket.org/rminnich/sysfromiso
# run this from the sysfromiso directory
hget -v http://plan9.bell-labs.com/plan9/download/plan9.iso.bz2>/tmp/iso.bz2 |[2]aux/statusbar plan9.iso
rc -c 'cd /tmp; bunzip2 iso.bz2'
9660srv -f /tmp/iso iso
mount /srv/iso /n/iso
bind -b /n/iso .
x=`{date}
hg commit -m $"x
ape/psh<<EOF
hg push -e  '/bin/openssh/ssh -2' 
EOF
rm /srv/iso /tmp/iso /tmp/iso.bz2
